

#import <Foundation/Foundation.h>

@interface MyDataService : NSObject

+ (void)requestAFURL:(NSString *)urlstring
          httpMethod:(NSString *)method
              params:(NSDictionary *)params
                data:(NSDictionary *)datas
         complection:(void(^)(id result))block  failure:(void(^)(id erro))failureblock ;


//不需要RSA加密
+ (void)requestNoRSAAFURL:(NSString *)urlstring
               httpMethod:(NSString *)method
                   params:(NSDictionary *)params
                     data:(NSDictionary *)datas
              complection:(void(^)(id result))block failure:(void(^)(id erro))failureblock;


//只加签名 不加密
+ (void)requestOnlySignAFURL:(NSString *)urlstring
                  httpMethod:(NSString *)method
                      params:(NSDictionary *)params
                        data:(NSDictionary *)datas
                 complection:(void (^)(id))block
                     failure:(void (^)(id))failureblock;

@end
